<tab [lists] = "subLists" (tabToggle)="tabToggle($event)"></tab>
<div class="segment-container" [ngSwitch]="currentTab">
  <!--<div class="segment sub-title-0" *ngSwitchCase="'sub-title-0'">
    <p class="segment-title"><span class="little-cube"></span>{{subLists[0].label}}</p>
    <div class="seg-body">
    </div>
  </div>-->
  <div class="segment sub-title-1" *ngSwitchCase="'sub-title-1'">
    <p class="segment-title"><span class="little-cube"></span>{{subLists[0].label}}</p>
    <div class="seg-body">
      <news-lists [type]="'f10news'" [data]="compNewsData | async" (loadMore)="loadMoreCompNews()"></news-lists>
    </div>
  </div>
  <div class="segment sub-title-2" *ngSwitchCase="'sub-title-2'">
    <p class="segment-title"><span class="little-cube"></span>{{subLists[1].label}}</p>
    <div class="seg-body">
      <!--公告分类老板要求先取消只保留全部公告-->
      <!--<table-tab [lists]="annoTab" (tableToggle)="annoToggle($event)"></table-tab>-->
      <news-lists [type]="'announcements'" [data]="annoData | async" (loadMore)="loadMoreAnno()"></news-lists>
    </div>
  </div>
  <!--<div class="segment sub-title-3" *ngSwitchCase="'sub-title-3'">
    <p class="segment-title"><span class="little-cube"></span>{{subLists[3].label}}</p>
    <div class="seg-body">
    </div>
  </div>-->
  <!--<disclaimer></disclaimer>-->
</div>